package com.lottery.system.service;

import com.lottery.system.controller.param.PageParam;
import com.lottery.system.controller.param.addPrizeParam;
import com.lottery.system.service.dto.PrizeDTO;
import com.lottery.system.service.dto.PageListDTO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: xiaoxie
 * create: 2024-09-06 22:37
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.service
 * description: 奖品业务逻辑层
 */
public interface PrizeService {

    /**
     * @description: 创建奖品
     * @author: xiaoxie
     * @date: 2024/9/6 22:50
     * @param: [param, picFile]
     * @return: java.lang.Long
     **/
    Long addPrize(addPrizeParam param, MultipartFile picFile);

    /**
     * @description: 获取奖品列表
     * @author: xiaoxie
     * @date: 2024/9/8 10:10
     * @param: [param]
     * @return: com.lottery.system.service.dto.PrizeListDTO<com.lottery.system.service.dto.PrizeDTO>
     **/
    PageListDTO<PrizeDTO> getPrizeList(PageParam param);
}
